home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Megahits 5
/
Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso
/
archive
/
show
/
retinaflick10.lha
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-29
|
424b
|
26 lines
/* test.c
This is to test the decoding capabilities of the FLI/FLC reader */
#include <stdlib.h>
#include <stdio.h>
#include "xflick.h"
verbose = 1;
int main(int argc, char *argv[])
{
struct fli_header crap;
int fd;
if (argc > 1) {
fd = open(argv[1], 0);
if (fd < 0) {
fprintf(stderr, "Can't open the file %s!\n", argv[1]);
exit(-1);
}
read_flihead(fd, &crap);
close(fd);
}
}